// Classe para criar os formulário do jogo
var Form = function(_x, _y, _w, _h, _c)
{
	this.position = {
		x: _x,
		y: _y,
	}

	this.size = {
		width: _w,
		height: _h
	}

	this.color = _c

	this.sprite = new Sprite(this.position.x, this.position.y, this.size.w, this.size.h, this.color);

	this.btn = {
		submit: new Button(600, canvas.height -100, 50, 20, "#f00") //Botão de voltar pro menu
	}

	this.update = function()
	{
		this.sprite.update();
	}

	this.draw = function()
	{
		this.sprite.draw();
	}
}